package com.liuhaha.subject.domain.convert;

import com.liuhaha.subject.domain.entity.SubjectAnswerBO;
import com.liuhaha.subject.domain.entity.SubjectInfoBO;
import com.liuhaha.subject.infra.basic.entity.SubjectBrief;
import com.liuhaha.subject.infra.basic.entity.SubjectInfo;
import com.liuhaha.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author liuhanzhong
 * @version 1.0
 * @date 2024-05-14 19:29
 */
@Mapper
public interface RadioSubjectConverter {

    RadioSubjectConverter INSTANCE = Mappers.getMapper(RadioSubjectConverter.class);

    SubjectRadio convertBoToEntity(SubjectAnswerBO subjectAnswerBO);

    List<SubjectAnswerBO> convertEntityToBoList(List<SubjectRadio> subjectRadioList);

}
